package biz.ezcom.spring.aop.service.impl;

import org.springframework.stereotype.Service;

import biz.ezcom.spring.aop.pojo.User;
import biz.ezcom.spring.aop.service.UserService;

@Service(value="userService")
public class UserServiceImpl implements UserService {
	//以下为参数判断
	@Override
	public void saveUser() {
		System.out.println("UserServiceImpl: public void saveUser()");
	}

	@Override
	public User getUser(int id) {
		System.out.println("UserServiceImpl: public User getUser(int id)");
		User user = new User();
		user.setId(id);
		return user;
	}

	@Override
	public void saveUser(int id, String username, String password) {
		System.out.println("UserServiceImpl: public void saveUser(int id, String username, String password)");
	}
	
}
